package cn.com.yw.feign;
import cn.com.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "mall-product",fallback =ProductFeignServiceImpl.class )
public interface ProductFeignService {

    @RequestMapping("/product/attr/list")
    R list(@RequestParam Map<String, Object> params);

}
